/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */



package sonia.golf.dao;

/**
 *
 * @author Sebastian Sdorra
 *
 * @param <T>
 */
public interface DAOListener<T>
{

  /**
   * Enum description
   *
   */
  public enum DAOEvent { ADD, UPDATE, REMOVE }

  //~--- methods --------------------------------------------------------------

  /**
   * Method description
   *
   *
   * @param event
   */
  public void onEvent(T item, DAOEvent event);
}
